package com.zlt.service;

import com.zlt.pojo.PageBean;
import com.zlt.pojo.User;
import org.springframework.web.bind.annotation.RequestHeader;

import javax.servlet.http.HttpServletResponse;

public interface IUserService {

    String login(HttpServletResponse response,String validataCode, String username, String password, String userKey);

    public String add(User user);

    public String del(int id);

    public String edit(User user);

    public User select(int id);

    PageBean<User> pageBreak(String pageNum);
}
